package com.example.demo.service;

import java.text.ParseException;
import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.apache.ibatis.annotations.Param;

import com.example.demo.entity.EtInformation;
import com.example.demo.entity.EtInformationType;
import com.example.demo.util.ResultPage;

public interface InformationService {
	
	public int insertInformation(EtInformation info,String createdAt,HttpServletRequest request) throws ParseException;
	
	public int delInfo(String id);
	
	public ResultPage<EtInformation> getInfoList(EtInformation info);
	
	public EtInformation getInfo(String id);
	
	public List<EtInformation> getTitleList(String type);
	
	public List<EtInformationType> getTypeList();
	
	public EtInformation getReport(String reportNum,String reportCode);

}
